package yambal.net.googledata
{
	import flash.utils.Dictionary;
	
	import yambal.net.googledata.service.IService;
	
	public class GoogleUser{
		public var email:String;
		public var password:String;
		public var isApps:Boolean = false;
		
		private var authDic:Dictionary;
		
		public function GoogleUser(){
			this.authDic = new Dictionary();
		}
		
		public function addAuth(auth:Auth):void{
			this.authDic[auth.service_name] = auth;
		}
		
		public function getAuth(service:IService):Auth{
			var auth:Auth = this.authDic[service.service_name] as Auth;
			return auth;
		}
	}
}